package com.kmzx.gen.signs.api;

import com.kmzx.gen.signs.dto.KVData;
import com.kmzx.gen.signs.entity.GenData;

import java.util.List;

/**
 * @Project gen_sign
 * @Author: carol
 * @Date: 2020/7/7-14:46
 */
public interface DataApi {


    List<GenData> findLatestGenData();

    int batchUse(List<GenData> list);

    int saveGenDataOrder(KVData kvData);

    int batchSaveGenDataOrder(List<KVData> data);

    int batchUpdateData(List<GenData> data);

    int updateSignedData(String id,String signData);

    int errorSignData(String id,String reason);

    int batchFinish(List<KVData> list);
}
